package com.liujit.bms.app.domain.result;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.liujit.common.domain.result.BaseResult;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Description 博客文章评论返回结果
 * @Author liujun
 * @Date 2021-07-17 10:16:09
 */
@Data
@ApiModel(value = "BlogArticleCommentResult", description = "博客文章评论返回结果")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class BlogArticleCommentResult extends BaseResult {

    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "文章id")
    private Long articleId;

    @ApiModelProperty(value = "评论id")
    private Long pid;

    @ApiModelProperty(value = "会员id")
    private Long memberId;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "评论内容")
    private String comment;

    @ApiModelProperty(value = "是否打开：1、是。0、否。")
    private Short isOpen;

    @ApiModelProperty(value = "评论时间")
    private Date commentTime;

    @ApiModelProperty(value = "作者回复")
    private String reply;
}